Intro
Show dynamic HTML content in toddle
This package lets you render dynamic HTML from headless CMSs like Storyblock, Contentful, and other in toddle.
Demo
Components
html-block
The only component in this package. Use the html attribute to show your HTML content.
Attributes
html The html content to show
Style variables
The following style variables can be used to customize the styling of the content. Add these to your project theme or as component style variables to override the default values.
html-block-font-color | The default font color |
html-block-bg-color | The default background color |
html-block-font-size | The default font size |
html-block-h1-color | Heading 1 font color |
html-block-h1-size | Heading 1 font size |
html-block-h2-size | Heading 2 font size |
html-block-h2-color | Heading 2 font color |
html-block-link-color | Hyperlink color |
html-block-strong-color | <strong> font color |
html-block-quote-color | Blockquote font color |
html-block-quote-border-color | Blockquote border color |